package cn.zhy.org.domain;

import java.math.BigDecimal;
import java.util.Date;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.zhy.basic.domain.BaseDomain;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 实体类：
 */
@Data
public class Shop extends BaseDomain{

    private static final long serialVersionUID = 1L;

    /**
     * 店铺名称
     */
    @Excel(name = "店铺名称" ,orderNum = "1" ,width = 30)
    private String name;
    /**
     * 店铺座机
     */
    @Excel(name = "电话" ,orderNum = "2" ,width = 30)
    private String tel;
    /**
     * 入驻时间
     */
    @Excel(name = "入驻时间" ,orderNum = "3" ,width = 30 ,exportFormat="yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date registerTime = new Date();
    /**
     * 店铺状态：1待审核，2审核通过待激活，3激活成功，4驳回
     */
    private Integer state;
    /**
     * 店铺地址
     */
    @Excel(name = "店铺地址" ,orderNum = "4" ,width = 30)
    private String address;
    /**
     * 店铺logo
     */
    private String logo;
    /**
     * 店铺管理员ID
     */
    private Long adminId;

   // private Employee employee;
    //用于接收管理员店铺信息
    private Employee admin;


}
